﻿<local:BaseDataVisualizer
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:local="clr-namespace:BrainTechLLC.Silverlight.Controls;assembly=BrainTechLLC.Silverlight.Controls"
	x:Class="BrainTechLLC.Silverlight.ClientApplication.EditReset" 
    Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" 	
    xmlns:BrainTechLLC="clr-namespace:BrainTechLLC;assembly=BrainTechLLC.Silverlight.Core" 
    xmlns:loc="clr-namespace:BrainTechLLC.Silverlight.ClientApplication" 
    xmlns:prop="clr-namespace:SLPropertyGrid;assembly=SLPropertyGrid"
    xmlns:System="clr-namespace:System;assembly=mscorlib">
    <StackPanel Orientation="Vertical" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" x:Name="gridData" Width="Auto" Background="#FFFFFFFF">
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" Width="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120"/>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="120"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <ContentControl VerticalAlignment="Center" Grid.Column="0" Content="Command (O/M):" Style="{StaticResource TextBlockContentStyle}"/>
            <TextBox Margin="0,0,0,0" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" Text="{Binding Mode=TwoWay, Path=Command}" Style="{StaticResource TextBoxNoScroller}" />
            <ContentControl VerticalAlignment="Center" Grid.Column="2" Content="At Location:" Style="{StaticResource TextBlockContentStyle}"/>
            <loc:EditAssociatedID AssociatedID="{Binding Mode=TwoWay, Path=GameLocationID}" Margin="0,0,0,0" Grid.Column="3" HorizontalAlignment="Stretch" VerticalAlignment="Center"
                                  RequestEditID="EditAssociatedIDCollection_RequestEditID1"/>
        </Grid>
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" Width="Auto">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="120"/>
                <ColumnDefinition Width="1*"/>
                <ColumnDefinition Width="120"/>
                <ColumnDefinition Width="1*"/>
            </Grid.ColumnDefinitions>
            <ContentControl VerticalAlignment="Center" Grid.Column="0" Content="Percent:" Style="{StaticResource TextBlockContentStyle}"/>
            <TextBox Margin="0,0,0,0" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" Text="{Binding Mode=TwoWay, Path=Percent}" Style="{StaticResource TextBoxNoScroller}" />
            <ContentControl VerticalAlignment="Center" Grid.Column="2" Content="Pops ID:" Style="{StaticResource TextBlockContentStyle}"/>
            <loc:EditAssociatedID AssociatedID="{Binding Mode=TwoWay, Path=PopsAssociatedID}" Margin="0,0,0,0" Grid.Column="3"
                                  RequestEditID="EditAssociatedIDCollection_RequestEditID2"
                                  HorizontalAlignment="Stretch" VerticalAlignment="Center" />
        </Grid>

        <!--<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" Width="Auto">
            <loc:EditAssociatedIDCollection Name="editRoomsIDs" Height="Auto" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Top" AssociatedIDCollection="{Binding Mode=OneWay, Path=Rooms}" 
                                            RequestEditID="EditAssociatedIDCollection_RequestEditID" />
        </Grid>-->
        <!--<Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" Width="Auto">
            <prop:PropertyGrid HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                               Height="Auto" Width="Auto" x:Name="propertyGrid" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch"
                               SelectedObject="{Binding}"
                               />
        </Grid>-->
    </StackPanel>
</local:BaseDataVisualizer>